cmake_minimum_required(VERSION 3.0.2)
project(px4_simple_example)

add_definitions(-std=c++11 -g -O3 )
find_package(catkin REQUIRED COMPONENTS
  roscpp
  message_filters
  #mav_msgs
  geometry_msgs
  sensor_msgs
  gazebo_msgs
  tf
)

find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIRS})

include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${catkin_INCLUDE_DIRS})
catkin_package()


add_executable(offboard src/offboard.cpp  )
target_link_libraries(offboard ${catkin_LIBRARIES})

